@extends('me.moban')

@section('content')
  
<div class="container-fluid">

  <form class="form-horizontal" method="post" action="#">
      @if (count($errors) > 0)
          <div class="mws-form-message error">
              <ul>
                  @foreach ($errors->all() as $error)
                      <li>{{ $error }}</li>
                  @endforeach
                  
              </ul>
          </div>
      @endif
       <input type="hidden" name="_token" value="cDiYXYXv2ZBwe495qHESxS0eluEv34205ICSUgXv">
  <div class="form-group">

    <label for="inputEmail3" class="col-sm-2 control-label">标题</label>
    <div class="col-sm-8">
      <input type="title" value="{{$demo['title']}}" disabled="disabled" class="form-control" id="title" name="title">
    </div>
  </div>


  <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">内容</label>
    <div class="col-sm-8">
       <textarea class="form-control" disabled="disabled" style="height:300px" rows="4" id="content" name="content">{{$demo['content']}}</textarea> 
    </div>
  </div>
   
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      {{csrf_field()}}
      <a href="/demo" class="btn btn-default">返回</a>
    </div>
  </div>
</form>

</div>
@endsection

